 <?php 
 defined('_JEXEC') or die('Restricted access');
 //echo $_SESSION['id_a_b'];
 //echo $_SESSION['id_user'];
   // echo "vao dc";
 ?> 
<link rel="stylesheet" href="components/com_work_point/assets/css/jquery-ui.css"/>
<script language="javascript" src="components/com_work_point/assets/js/jquery-1.8.2.js"></script>
<script language="javascript" src="components/com_work_point/assets/js/jquery-ui.js"></script>
<script>
$(document).ready(function(){
    //check ratio
    $("#day").click(function(){
        $('#datepicker').removeAttr('disabled');
        $('#cbo_month').attr('disabled', 'disable');
        $('#op_def').attr('selected', 'select');
        
    });
    
    $("#month").click(function(){
        $('#cbo_month').removeAttr('disabled');
        $('#datepicker').attr('disabled', 'disable');
        $('#datepicker').val('');
    });
    
    });
</script>
<script>
    $(function() {
        $( "#datepicker" ).datepicker();
    });
function ra_vao()
{
    window.location.href = "index.php?option=com_work_point&task=in_out";
    return;
}
</script>
<input type="button" value="Ra - Vào" onclick="return ra_vao()" />
<table>
    <tr>
        
            <td>
                <input type="button" value="Đi trễ" />
                
            </td>
            <td>
            <input type="radio" name="action" value="1" id="day" checked="checked" />Ngày <input type="text" id="datepicker" name="datepicker" /><input type="submit" value="Gửi" /></form>
            </td>
            <td>
            <input type="radio" name="action" value="2" id="month"  />Tháng 
            <select disabled="disable" id="cbo_month">
                <option value="0" selected="selected" id="op_def">Chọn tháng</option>
                <?php 
                    for($i = 1;$i<=12;$i++)
                    {
                        ?>
                            <option value="<?php echo $i; ?>">Tháng <?php echo $i; ?></option>
                        <?php
                    }
                ?>
            </select>
            </td>
        
    </tr>
    <tr>
        <td><input type="button" value="Về sớm" /></td>
    </tr>
    <tr><td>
        <input type="button" value="Nghỉ" /></td>
    </tr>

</table>

    <div class="content">
        ass
    </div>